package com.wish233.provider;

import com.wish233.common.service.UserService;
import com.wish233.provider.service.impl.UserServiceImpl;
import com.wish233.register.local.LocalServiceRegister;
import com.wish233.server.WRpcServer;
import com.wish233.server.impl.VertxHttpServer;

/**
 * @author WHH
 */
public class Provider {

    public static void main(String[] args) {
        //先注册
        LocalServiceRegister.registerService(UserService.class.getName(), UserServiceImpl.class);
        WRpcServer httpServer = new VertxHttpServer();
        httpServer.start(8111);
    }

}
